Support

Home Forums Event Espresso Premium Simple REST API Endpoints question

Simple REST API Endpoints question

Posted: September 5, 2022 at 10:01 am


ICS Centre

September 5, 2022 at 10:01 am

I manage a website for a client which uses EE4 on WordPress 6. My client has a new CRM, and the CRM company would like to connect the CRM to EE4.

I have provided them with an application password, but they say they also require an endpoint.

I have no experience whatsoever with REST, JSON or any related technologies. So my question is this; is there a stock URL or URLs I can supply them with, or will I need to spend time learning about these technologies in order to give them what they need?

Thanks in advance.


Tony

  • Support Staff

September 5, 2022 at 11:24 am

Hi there,

They likely mean {your_domain}/wp-json/ee/v4.8.36/

So example.com/wp-json/ee/v.4.8.36/

When we make a change to the REST API we use the current version number of EE as the endpoint, the above is the latest 🙂


ICS Centre

September 12, 2022 at 9:59 am

Thanks!

I provided the relevant URL to the CRM company, then created an Application Password on my own Admin user page within the WordPress dashboard. I gave them the Application Password and Application Password Name, but they’re getting the following error:

{

	“code”: “incorrect_password”,
	“message”: “The provided password is an invalid application password.”,
	“code”: null

}

Could you please advise?

Cheers.


Tony

  • Support Staff

September 13, 2022 at 12:31 pm

Hmm, strange.

Can you send over the login credentials so I can view what happens on the request?

You can use the form here:

https://eventespresso.com/send-login-details/


ICS Centre

September 14, 2022 at 7:59 am

OK, sent.

Thank you!


ICS Centre

September 15, 2022 at 3:25 am

This reply has been marked as private.


Tony

  • Support Staff

September 15, 2022 at 9:49 am

Hi there,

The URL is correct but I can’t log in with the details provided, can you double check those, please?

Also, usually when authentication isn’t working within the REST API it is because the host blocking the AUTHORIZATION header on the request, can you open up a ticket with you host and ask if they block that header?


ICS Centre

September 16, 2022 at 3:56 am

Thanks Tony. I’ve sent you new login credentials via that form, and have opened a support ticket with my host.

The support post ‘Simple REST API Endpoints question’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso