Hi Hampstead!
Thanks for contacting us. Could you please provide more information on how you're doing that?
If you're trying to use OnePageCRM API and experiencing problems with authentication then I can help you right now. We encourage our API consumers use basic authentication with Authorization header. Like Authorization
: Basic {your auth data here}
. {Auth data}
can be calculated with your user ID and API key which you can find on https://app.onepagecrm.com/app/api3, tab Configuration
.
You should concatenate your user ID and API key with :
delimiter and encode it in base64. For example in ruby language it looks like the following:
user_id = 'your user ID'
api_key = 'your API key'
t = [user_id, api_ley].join(':')
auth_data = Base64.urlsafe_encode64(t)
And here it is, you should put what you have in auth_data
variable into Authorization header right after Basic
(mind the space character between the word Basic and your auth_data) and you'll be authenticated in OnePageCRM.
I hope it could help you. If not please provide more information on how you're trying to link Ninja Forms to OnePageCRM. I would be glad to help you.
Thank you,
Vladimir